﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FluentNHibernate.Mapping;

namespace BTM_Client_DBwork
{
    class TreeItemTagsMap : ClassMap<TreeItemTags>
    {
        public TreeItemTagsMap()
        {
            Id(x => x.Id);
            Map(x => x.Name).Unique().Length(40);
            Map(x => x.Tag).Length(200);
        }
    }
}
